<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body>
    <div ng-app="hd" ng-controller="ctrl">
        性别：<select ng-model="user.sex">
            <option value="">请选择性别</option>
            <option ng-value="1" ng-selected="user.sex==1">男</option>
            <option ng-value="2" ng-selected="user.sex==2">女</option>
        </select>
              <input type="radio" ng-model="user.sex" ng-value="1">男
              <input type="radio" ng-model="user.sex" ng-value="2">女



              协议：<input type="checkbox" ng-model="copyright">接受<br/>
              <input type="submit" ng-disabled="!copyright">
    </div>
    <script>
       var vm = angular.module("hd",[]);
       vm.controller('ctrl',['$scope',function($scope){
             $scope.user = {sex: 1}
       }])
    </script>
</body>
</html>